package com.haoxin.ai_course.modules.course.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 课程统计表
 * 
 * @author xingxiangguo
 * @email bugcn@qq.com
 * @date 2022-06-06 09:44:49
 */
@Data
@TableName("ac_statistics_course")
@EqualsAndHashCode(callSuper = true)
public class AcStatisticsCourse extends Model<AcStatisticsCourse> implements Serializable {
	private static final long serialVersionUID = 1L;
		//
		@TableId
		@ApiModelProperty("课程统计表id")
		private Integer id;
		@ApiModelProperty("课程编号")
		private Integer courseCode;
		@ApiModelProperty("课程id,课程表主键id")
		private Integer courseId;
		@ApiModelProperty("进入课程人数")
		private Long enterCourseCount;
		@ApiModelProperty("完成课程人数")
		private Integer finishCourseCount;
		@ApiModelProperty("单课完成率")
		private BigDecimal singleCourseFinishRate;
		@ApiModelProperty("完课平均时长")
		private Integer finishCourseAvageTime;
		@ApiModelProperty("完课中位数时长")
		private Integer finishCourseMedianTime;
		@ApiModelProperty("重看人数")
		private Integer reviewCount;
		@ApiModelProperty("更新者")
		private Long updateBy;
		@ApiModelProperty("创建者")
		private Long createBy;
		@ApiModelProperty("创建时间")
		private Date createTime;
		
		private Integer version;
}
